<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Pac-Man:  File sorgente debug.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="pacman_header.jpg"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Pac-Man
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generato da Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Cerca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pagina&#160;Principale</span></a></li>
      <li><a href="annotated.html"><span>Classi</span></a></li>
      <li class="current"><a href="files.html"><span>File</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Cerca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Elenco&#160;dei&#160;file</span></a></li>
      <li><a href="globals.html"><span>Elementi&#160;dei&#160;file</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tutto</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classi</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>File</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funzioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variabili</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Ridefinizioni di tipo (typedef)</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Tipi enumerati (enum)</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Valori del tipo enumerato</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pagine</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">debug.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="debug_8h.html">Vai alla documentazione di questo file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * debug.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *      Author: Belle &amp; Bruce</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#ifdef DEBUG_MODE</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; <span class="keywordtype">void</span> <a class="code" href="debug_8cc.html#a8f014a4cb90a91e8f29c9c941d5f7286">debug_console</a>(ALLEGRO_TIMER *timer, ALLEGRO_TIMER *timer2, <a class="code" href="structPLAYER__t.html">PLAYER_t</a> &amp;pacman, <a class="code" href="structFANTASMA__t.html">FANTASMA_t</a> &amp;blinky, <a class="code" href="structFANTASMA__t.html">FANTASMA_t</a> &amp;pinky</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;                   , <a class="code" href="structFANTASMA__t.html">FANTASMA_t</a> &amp;inky, <a class="code" href="structFANTASMA__t.html">FANTASMA_t</a> &amp;clyde, <a class="code" href="structMAPPA__t.html">MAPPA_t</a> &amp;mappa, <a class="code" href="structAUDIO__t.html">AUDIO_t</a> &amp;audio, <span class="keywordtype">int</span> &amp;livello, <span class="keywordtype">bool</span> &amp;caricamappa, <a class="code" href="data__struct_8h.html#a2b4fca65b06655936250de8523872c89">STATO_GIOCO</a> &amp;stato_gioco);</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#endif // DEBUG_MODE</span></div>
<div class="ttc" id="structMAPPA__t_html"><div class="ttname"><a href="structMAPPA__t.html">MAPPA_t</a></div><div class="ttdoc">Struttura della mappa di gioco che verrà caricata da file nella funzione load_map. </div><div class="ttdef"><b>Definition:</b> data_struct.h:43</div></div>
<div class="ttc" id="data__struct_8h_html_a2b4fca65b06655936250de8523872c89"><div class="ttname"><a href="data__struct_8h.html#a2b4fca65b06655936250de8523872c89">STATO_GIOCO</a></div><div class="ttdeci">STATO_GIOCO</div><div class="ttdoc">Stato del gioco, serve per il loop della funzione main per eseguire diverse operazioni a seconda dell...</div><div class="ttdef"><b>Definition:</b> data_struct.h:31</div></div>
<div class="ttc" id="structPLAYER__t_html"><div class="ttname"><a href="structPLAYER__t.html">PLAYER_t</a></div><div class="ttdoc">Struttura contenente i dati del giocatore. </div><div class="ttdef"><b>Definition:</b> data_struct.h:59</div></div>
<div class="ttc" id="structAUDIO__t_html"><div class="ttname"><a href="structAUDIO__t.html">AUDIO_t</a></div><div class="ttdoc">Struttura contenente i dati dell&#39;audio. </div><div class="ttdef"><b>Definition:</b> data_struct.h:91</div></div>
<div class="ttc" id="debug_8cc_html_a8f014a4cb90a91e8f29c9c941d5f7286"><div class="ttname"><a href="debug_8cc.html#a8f014a4cb90a91e8f29c9c941d5f7286">debug_console</a></div><div class="ttdeci">void debug_console(ALLEGRO_TIMER *timer, ALLEGRO_TIMER *timer2, PLAYER_t &amp;pacman, FANTASMA_t &amp;blinky, FANTASMA_t &amp;pinky, FANTASMA_t &amp;inky, FANTASMA_t &amp;clyde, MAPPA_t &amp;mappa, AUDIO_t &amp;audio, int &amp;livello, bool &amp;caricamappa, STATO_GIOCO &amp;stato_gioco)</div><div class="ttdoc">Funzione utilizzabile solo in fase di debug. </div><div class="ttdef"><b>Definition:</b> debug.cc:46</div></div>
<div class="ttc" id="structFANTASMA__t_html"><div class="ttname"><a href="structFANTASMA__t.html">FANTASMA_t</a></div><div class="ttdoc">Struttura contenente i dati del singolo fantasma. </div><div class="ttdef"><b>Definition:</b> data_struct.h:76</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generato Mar 14 Ott 2014 18:28:45 per Pac-Man da &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
